/**
 * Copyright (c) 2007,中企动力华南研发中心<br>
 * All rights reserved.
 */
package com.ce.pms.charge.service;

import java.util.List;

import com.ce.pms.base.service.IPmsBaseService;
import com.ce.pms.charge.model.AbstractStaVersion;
import com.ce.pms.charge.vo.ChargeStaChoVO;
import com.sitechasia.webx.core.support.Page;

/**
 * 功能描述：房间标准选用（常规费用）<br>
 * @author 罗军林 创建日期：2008-8-7
 */
public interface ICharStoChoGeneralService extends IPmsBaseService {
	/**
	 * 功能描述:查询满足条件的收费项目<br>
	 * @param condition
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-7<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Page queryCharStoChoGeneral(ChargeStaChoVO condition);

	/**
	 * 功能描述:增加一次固定费用的标准选用<br>
	 * @param charStaChoMeterVO
	 * Create author:罗军林<br>
	 * Create on:2008-8-12<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public void addCharStaChoGeneral(ChargeStaChoVO charStaChoGeneralVO);

	/**
	 * 功能描述:删除一条标准选用<br>
	 * @param keyword<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-12<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public void deleteCharStaChoGeneral(Long keyword);

	/**
	 * 功能描述:修改标准选用<br>
	 * @param charStaChoMeterVO
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-12<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public ChargeStaChoVO editCharStaChoGeneral(ChargeStaChoVO charStaChoGeneralVO);

	/**
	 * 功能描述:当项目ID、房号ID相同时，返回true<br>
	 * 注：如果为修改时要过滤oldCondition条件
	 * @param condition
	 * @param oldCondition
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-13<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public Boolean checkExistCharStoChoGeneral(ChargeStaChoVO condition,ChargeStaChoVO oldCondition);

	/**
	 * 功能描述:根据主键查找<br>
	 * @param keyword
	 * @return<br>
	 * Create author:罗军林<br>
	 * Create on:2008-8-21<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public ChargeStaChoVO findCharStoChoById(Long keyword);

	/**
	 * 功能描述:更新指定收费标准的房间标准选用表中的费用,如果该标准还没有被选用将返回false<br>
	 * @param charStaId<br>
	 * @param staVersion
	 * Create author:罗军林<br>
	 * Create on:2008-10-10<br>
	 * Edit author:<br>
	 * Edit on:<br>
	 * Why:<br>
	 */
	public boolean updateCharstChoAmt(Long charStaId,AbstractStaVersion staVersion);


	/***
	 * 功能描述:  查询指定房间的收费标准<br>
	 * @param houseId
	 * @return
	 * Create author:yandawei <br>
	 * Create on:2008-10-22  <br>
	 * Edit author:  <br>
	 * Edit on:    <br>
	 * Why:     <br>
	 */
	public List<ChargeStaChoVO> getAllSelectHouseCharStoCho(Long houseId);


}
